﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="saved-quotes.aspx.cs" Inherits="user_saved_quotes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
    <div class="grey-bg-4">
        <div class="radius-save-quote">
            <div class="edit-nav" runat="server" id="divTopNavigation" visible="false">
                <div class="nav-col-1">
                    <img src="/images/edit-profile.png" width="24" height="24" alt="" /></div>
                <div class="nav-col-2">
                    <asp:HyperLink NavigateUrl="~/user/edit-profile?ResultTitle=201" ID="hplEditProfile"
                        runat="server" CssClass="edit-nav-links">
                        <asp:Label ID="lblUserName" Text="<%$Resources:General,EditProfile%>" runat="server"></asp:Label>
                    </asp:HyperLink>
                </div>
                <div class="nav-col-3">
                    <img src="/images/save-quote.png" width="24" height="24" alt="" /></div>
                <div class="nav-col-4">
                    <asp:HyperLink NavigateUrl="~/user/saved-quotes" ID="hplSavedQuotes" Text="<%$Resources:CarInsurance,SavedQuotes%>"
                        runat="server" CssClass="edit-nav-links"></asp:HyperLink>
                </div>
                <div class="nav-col-5">
                    <img src="/images/change-pw.png" width="24" height="23" alt="" /></div>
                <div class="nav-col-6">
                    <asp:HyperLink NavigateUrl="~/user/change-password" ID="hplChangePassword" Text="<%$Resources:General,ChangePassword%>"
                        runat="server" CssClass="edit-nav-links"></asp:HyperLink>
                </div>
            </div>
            <div class="sq-col-left">
                <%= GetGlobalResourceObject ("CarInsurance","SavedQuotes") %></div>
            <div class="sq-col-right">
                <asp:Button ID="btnRunNewQuote" runat="server" CssClass="new-quote-btn" OnClick="btnRunNewQuote_Click"
                    ToolTip="<%$ Resources:CarInsurance,RunNewQuotes%>" Text="<%$ Resources:CarInsurance,RunNewQuotes%>" />
            </div>
            <asp:Label ID="lblResultHistoryMessage" runat="server" Text=""></asp:Label>
            <asp:DataList ID="dtlUserResult" DataKeyField="UserResultId" BorderColor="black"
                CellPadding="0" CellSpacing="0" RepeatDirection="Vertical" RepeatLayout="Table"
                RepeatColumns="1" OnItemDataBound="dtlUserResult_ItemDataBound" runat="server"
                OnItemCommand="dtlUserResult_ItemCommand">
                <AlternatingItemStyle></AlternatingItemStyle>
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:Panel ID="pnlQuote" runat="server">
                        <div class="save-quote-box">
                            <div class="heading" style="padding-left: 15px;">
                                <asp:Label ID="lblQuoteTitle" Text="" runat="server" /></div>
                            <div class="sq-col-1">
                                <span style="font-weight: bold">
                                    <asp:Label runat="server" ID="lblInsuranceTypeTitle" Text="<%$Resources:CarInsurance,InsuranceType%>" />:</span><br />
                                <asp:Label runat="server" ID="lblGarageTypeTitle" Text="<%$Resources:CarInsurance,GarageType%>" />:<br />
                                <asp:Label runat="server" ID="lblVehicleTypeTitle" Text="<%$Resources:CarInsurance,VehicleType%>" />:<br />
                            </div>
                            <div class="sq-col-2">
                                <span style="font-weight: bold">
                                    <asp:Label ID="lblInsuranceType" Text="" runat="server" /></span><br />
                                <asp:Label ID="lblGarageType" Text="" runat="server" /><br />
                                <asp:Label ID="lblVehicleType" Text="" runat="server" /><br />
                            </div>
                            <div class="sq-col-3">
                                <span style="font-weight: bold">
                                    <%= GetGlobalResourceObject ("CarInsurance","Status") %>:</span><br />
                                <%= GetGlobalResourceObject ("CarInsurance","QuoteDate") %>:<br />
                                <%= GetGlobalResourceObject ("CarInsurance","PolicyStartDate") %>:<br />
                            </div>
                            <div class="sq-col-4">
                                <span style="color: #FF0004; font-weight: bold;">
                                    <asp:Label ID="lblStatus" Text="" runat="server" /></span><br />
                                <asp:Label ID="lblCompleteDate" Text="" runat="server" /><br />
                                <asp:Label ID="lblPolicyStartDate" Text="" runat="server" /><br />
                            </div>
                            <div class="sq-col-5" runat="server" id="divCompleteButton" visible="false">
                                <asp:Button ID="btnShowSavedQuote" runat="server" CssClass="complete-quote-btn" CommandName="ShowSavedQuote"
                                    Text="<%$ Resources:CarInsurance,ViewCompleted%>" />
                            </div>
                            <div class="sq-col-5" runat="server" id="divPartialButton">
                                <asp:Button ID="btnShowResult" runat="server" CssClass="show-result-btn" CommandName="ShowResult"
                                    ToolTip="<%$ Resources:CarInsurance,ShowResults%>" Text="<%$ Resources:CarInsurance,ShowResults%>" />
                                <asp:Button ID="btnDeleteResult" runat="server" CssClass="delete-result-btn" CommandName="DeleteResult"
                                    ToolTip="<%$ Resources:CarInsurance,DeleteResults%>" Text="<%$ Resources:CarInsurance,DeleteResults%>" />
                            </div>
                            <div class="sq-col-5" runat="server" id="divPartialButton2" visible="false">
                                <asp:Button ID="btnRerunQuotes" runat="server" CssClass="rerun-quote-btn" CommandName="ReRunQuotes"
                                    ToolTip="<%$ Resources:CarInsurance,ReRunQuote%>" Text="<%$ Resources:CarInsurance,ReRunQuote%>" />
                                <asp:Button ID="btnDeleteResult2" runat="server" CssClass="delete-result-btn" CommandName="DeleteResult"
                                    ToolTip="<%$ Resources:CarInsurance,DeleteResults%>" Text="<%$ Resources:CarInsurance,DeleteResults%>" />
                            </div>
                        </div>
                    </asp:Panel>
                    <asp:Label ID="lblResultValue" Text="" runat="server" />
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpBody" runat="Server">
</asp:Content>
